package geom;


public class Punto2D {
    
    private float x;
    private float y;
    public Punto2D() {
       
    }
    
    public void moverXY(float a , float b){
            this.x = this.x +a;
            this.y = this.y +b;
        
        }
    public void moverX(float a){
        
        this.x = this.x +a;
        }

    public void moverY(float a){
        
        this.y = this.y +a;
        }
    public void setX(float x) {
        this.x = x;
    }

    public float getX() {
        return x;
    }

    public void setY(float y) {
        this.y = y;
    }

    public float getY() {
        return y;
    }
}
